module(..., package.seeall)
function new()
	local r = {}
	local imgDir = "Images/Stage2/"
	local xCenter = display.contentCenterX
	local yCenter = display.contentCenterY
	local displayWidth = display.contentWidth
	local displayHeight = display.contentHeight
	
	r.displayWidth = display.contentWidth
	r.displayHeight = display.contentHeight
	
	r.bg = { fn = imgDir.."bg.png",
		x = xCenter,
		y = yCenter,
		w = displayWidth,
		h = displayHeight
	}
	
	r.leftButton = {fn = imgDir.."left.png",
		x = 60,
		y = 420,
		w = 100,
		h = 100
	}
	
	r.rightButton = {fn = imgDir.."right.png",
		x = 260,
		y = 420,
		w = 100,
		h = 100
	}
	
	r.paper = {fn = imgDir.."paper.png",
		x = displayWidth/5,
		y = 0*displayHeight/5,
		w = 50,
		h = 50
	}
	
	r.toilet = {fn = imgDir.."toilet.png",
		x = displayWidth/5,
		y = 3*displayHeight/5,
		h = 100,
		w = 7*100/8
		
	}
	r.tl = {fn = imgDir.."tl.png",
		x = displayWidth/5,
		y = 3*displayHeight/5,
		h = 100,
		w = 90
	}
	r.timer = { text = "20",
		left = 0,
		top = 0,
		font = native.systemFontBold,
		fontSize = 20,
		x = 280,
		y = 320,
		red = 0,
		green = 0,
		blue = 0,
		alpha = 100
	}
	r.score = { text = "0",
		left = 0,
		top = 0,
		font = native.systemFontBold,
		fontSize = 38,
		x = 70,
		y = 50,
		red = 0,
		green = 0,
		blue = 0,
		color = {255,0,0},
		alpha = 100
	}
	r.pauseButton = { fn = "Images/gui/resume.png",
		x = 320 - 20,
		y = 70,
		w = 50,
		h = 50
	}
	r.replayButton = { fn = "Images/gui/replay.png",
		x = display.contentWidth - 20,
		y = 120,
		w = 50,
		h = 50
	}
	r.line = {fn = imgDir.."line.png",
		w = 512/2,
		h = 41/2,
		x = xCenter,
		y = 350}
	
	return r
end